package com.wq.mapper;

import com.wq.bo.ArticleTagRelBO;
import com.wq.dto.ArticleDeleteDTO;
import com.wq.entity.Article;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 * 文章表 Mapper 接口
 * </p>
 *
 * @author wuyunbin
 * @since 2024-10-19
 */
@Mapper
public interface ArticleMapper extends BaseMapper<Article> {

    void saveArticleTagRel(List<ArticleTagRelBO> articleTagRelBOList);

    void deleteArticelleTagRel(ArticleDeleteDTO articleDeleteDTO);

    List<Integer> getTagIdsByArticleId(Integer articleId);
}
